package com.ssy.lingxi.order.model.vo.basic.request;

import com.ssy.lingxi.order.model.vo.basic.response.DeliveryPlanOrderQueryVO;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 修改送货计划
 * @author czh
 * @version 2.0.0
 * @date 2021-07-19
 */
public class DeliveryPlanUpdateVO implements Serializable {

    /**
     * 摘要
     */
    @NotNull(message = "摘要不能为空")
    private String digest;

    /**
     * 送货计划id
     */
    @NotNull(message = "送货计划id不能为空")
    private Long planId;


    /**
     * 备注
     */
    @NotNull(message = "备注不能为空")
    private String remark;

    /**
     * 物料订单详情
     */
    private List<DeliveryPlanOrderQueryVO> orders;

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getDigest() {
        return digest;
    }

    public void setDigest(String digest) {
        this.digest = digest;
    }

    public Long getPlanId() {
        return planId;
    }

    public void setPlanId(Long planId) {
        this.planId = planId;
    }

    public List<DeliveryPlanOrderQueryVO> getOrders() {
        return orders;
    }

    public void setOrders(List<DeliveryPlanOrderQueryVO> orders) {
        this.orders = orders;
    }
}
